/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */
package info.peigen.hotpot.demo.domain.convertor;

import info.peigen.hotpot.demo.domain.Account;
import info.peigen.hotpot.demo.repository.entity.AccountEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * <b>(AccountConvertor)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2024/4/1
 */
@Mapper
public interface AccountConvertor {
    AccountConvertor INSTANCE = Mappers.getMapper(AccountConvertor.class);

    AccountEntity toEntity(Account account);
}
